package com.xintonghua.bussiness.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zhangxuemei on 2018/3/10.
 */

public class AddLogItemBean {

    private String project = "";//项目名称
    private String fuwuxiangid = "";//服务编号
    private String fuwuxiangmuid = "";//服务项目编号
    private String person = "";//人员名称
    private String personid = "";//服务人员编号
    private AddServicePersonBean periosn;
    private AddProjectBean perject;
    private List<ItemDetailsBean> mCurUseProduct = new ArrayList<>();  //当前选择使用的产品

    public AddProjectBean getPerject() {
        return perject;
    }

    public void setPerject(AddProjectBean perject) {
        this.perject = perject;
    }

    public AddServicePersonBean getPeriosn() {
        return periosn;
    }

    public void setPeriosn(AddServicePersonBean periosn) {
        this.periosn = periosn;
    }

    public String getProject() {
        return project;
    }

    public String getFuwuxiangmuid() {
        return fuwuxiangmuid;
    }

    public void setFuwuxiangmuid(String fuwuxiangmuid) {
        this.fuwuxiangmuid = fuwuxiangmuid;
    }

    public String getFuwuxiangid() {
        return fuwuxiangid;
    }

    public void setFuwuxiangid(String fuwuxiangid) {
        this.fuwuxiangid = fuwuxiangid;
    }

    public String getPersonid() {
        return personid;
    }

    public void setPersonid(String personid) {
        this.personid = personid;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public List<ItemDetailsBean> getmCurUseProduct() {
        return mCurUseProduct;
    }

    public void setmCurUseProduct(List<ItemDetailsBean> mCurUseProduct) {
        this.mCurUseProduct = mCurUseProduct;
    }


    public static class ItemDetailsBean {
        /**
         * id : 123
         * productId : 1
         * amount : 2
         */
        private String id;
        private String productId;
        private String productName;
        private String amount;
        private int num=1;
        private int asideIndex=0;
        private int index=0;

        public int getIndex() {
            return index;
        }

        public void setIndex(int index) {
            this.index = index;
        }

        public int getAsideIndex() {
            return asideIndex;
        }

        public void setAsideIndex(int asideIndex) {
            this.asideIndex = asideIndex;
        }

        private String price;//商品单价

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getProductId() {
            return productId;
        }

        public void setProductId(String productId) {
            this.productId = productId;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }
    }

}
